﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x0200008D RID: 141
	internal class Float32Single : ISingleDecoder
	{
		// Token: 0x0600025E RID: 606 RVA: 0x0000B468 File Offset: 0x00009868
		private Float32Single()
		{
		}

		// Token: 0x0600025F RID: 607 RVA: 0x0000B470 File Offset: 0x00009870
		public float Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 5;
			Float32Bits float32Bits = new Float32Bits(bytes, offset + 1);
			return float32Bits.Value;
		}

		// Token: 0x040000B2 RID: 178
		internal static readonly ISingleDecoder Instance = new Float32Single();
	}
}
